import React from 'react'
import { NavLink,Outlet } from 'react-router-dom'

export default function About() {
  return (
    <div>
        <ul className='nav nav-tabs'>
            <li><NavLink className='list-group-item' to='./news'>News</NavLink></li>
            <li><NavLink className='list-group-item' to='messages'>Messages</NavLink></li>
        </ul>
        <h4><Outlet/></h4>
    </div>
  )
}
